<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>样片展示</title>
    <base href="<?php echo base_url();?>" />
    <link href="style/base.css" rel="stylesheet" type="text/css" />
    <link href="style/common.css" rel="stylesheet" type="text/css" />
    <link href="style/houtai.css" rel="stylesheet" type="text/css" />
    <link href="style/zhanshi.css" rel="stylesheet" type="text/css" />
    <link href="style/my.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="js/jquery-1.7.2.min.js"></script>
    <script src="js/organictabs.jquery.js"></script>
    <script type="text/javascript" src="js/Common.js"></script>
    <script type="text/javascript" src="js/Validation.js"></script>
    <script type="text/javascript" src="jscript/WdatePicker.js"></script>
    <script type="text/javascript" src="js/jquery.form.js"></script>
    <script type="text/javascript" src="js/jquery.blockUI.js"></script>
    <script type="text/javascript">
        $(function(){
            loadAlbums();
        });

        function loadAlbums(){
            var sel = $("#selAlbum").val();
            var albumId = $("#albumId").val();
            var params = {album_id:albumId};
            $.ajax({
                type:"post",
                url:"index.php/manage/loadAlbumsLink",
                dataType:"json",
                data:params,
                success:function(data){
                    $("#ulAlbum").html(data.album);
                    $("#selAlbum").html(data.albumNames);
                    $("#selAlbum").val(sel);
                }
            });
        }
    </script>
</head>
<body>
<?php
include 'header.php';
?>
<!-- 名片 S -->
<?php
include 'person_info.php';
?>
<!-- 名片 E -->
<?php
include 'home_nav.php';
?>
<div class="w1100">
	<form id="formCard" action="">
        <input type="hidden" id="albumId" value="<?php if(isset($_GET['id'])){echo $_GET['id'];}?>" />
	<!-- tab 开始 -->
		<!--<div class="nev pt_20 pb_20">
			<div class="nev_tab">
				<a style="cursor: pointer" href="index.php/login/show"><div class="nev_tab1">模特卡</div></a>
				<a style="cursor: pointer" href="index.php/login/malbumshow"><div class="nev_tab2">样片展示</div></a>
			</div>
			<div class="right">
				<img src="images/fxd.jpg" width="299" height="31" />
			</div>
		</div>-->
		<!-- tab 结束 -->
		<!-- 04 开始 -->
		<div class="yindao_k">
			<?php
			if (! isset ( $ht )) {
				print "<div class='yindao_bt'>
							<img src='images/yindao_04.jpg' />
						</div>";
			}
			?>
			<!-- 相册管理 开始 -->
			<div class="xiangce" style="width:100%;min-height:500px;">
				<ul id="ulAlbum">
					
				</ul>
			</div>
			<!-- 相册管理 结束 -->
		</div>
		<!-- 04 结束 -->
	</form>
</div>
	<!-- 页脚 开始 -->
 <?php include 'footer.php';?>
<!-- 页脚 结束 -->
</body>
</html>